Nested

constructor(type: NavigationSpec.Nested.Type = Type.Add, containerView: <Error class: unknown class>, nested: () -> <Error class: unknown class>, constraints: (<Error class: unknown class>, <Error class: unknown class>) -> List<<Error class: unknown class>>? = null)

Parameters

type

The Nested.Type of presentation

containerView

The UIView to which the UIViewController should be added. Must be a child of the parent

nested

Function to create the UIViewController to add to the container view

constraints

Optional function that takes the child and container view and returns the constraints to set. If left empty, the child will default to match the container view size